package br.com.beautycenter.view;

import Funcionalidades.Data;
import br.com.beautycenter.DAO.PersisteDespesas;
import br.com.beautycenter.DAO.PersistePrestacao;
import br.com.beautycenter.DAO.PersisteRecebimentoExtra;
import br.com.beautycenter.Funcionalidades.Validacoes;
import br.com.beautycenter.DAO.PersisteSangria;
import br.com.beautycenter.DAO.PersisteSessao;
import br.com.beautycenter.DAO.PersisteSuprimento;
import br.com.beautycenter.DAO.PersisteVenda;
import br.com.beautycenter.Relatorios.ChamadaRelatorios;
import br.com.beautycenter.bean.FechamentoCaixa;
import java.awt.Color;
import java.util.Date;
import javax.swing.JOptionPane;

public class CadastroFechamentoCaixa extends javax.swing.JFrame {

    PersisteSuprimento persisteSuprimento = new PersisteSuprimento();
    PersisteSangria persisteSangria = new PersisteSangria();
    PersisteDespesas persisteDespesas = new PersisteDespesas();
    PersisteSessao persisteSessao = new PersisteSessao();
    PersisteVenda persisteVenda = new PersisteVenda();
    PersistePrestacao persistePrestacao = new PersistePrestacao();
    PersisteRecebimentoExtra persisteRecebimento = new PersisteRecebimentoExtra();
    
    FechamentoCaixa fechamentoCaixa = new FechamentoCaixa();
    
    ChamadaRelatorios chamadaRelatorios = new ChamadaRelatorios();
    
    Double totalSuprimento = 0., totalSangria = 0., totalSessao = 0.;
    Double totalVenda = 0., totalDespesas = 0., totalRecebimentosExtras = 0.0;
    
    private Double totalCaixa;    
    private Date dataCaixa;
    
    /**
     * Verifica se foi preenhido uma data.
     * Caso tenha sido, os valores serão preenchidos nas variáveis totalSuprimento e totalSangria. Feito isso, basta apenas 
     * exibi-los nos JLabels
     * 
     * Caso a data seja null, a mensagem é exibida e nada é feito.
     * 
     * @return 
     */
    public boolean validarData(){
        
        dataCaixa = jDateFechamento.getDate();
        
        if(dataCaixa == null){
            JOptionPane.showMessageDialog(null, "Selecione uma data!");
            jDateFechamento.requestFocus();
            return false;
        }
        
        txtDataSelecionada.setText(Data.formatoDataConvencional.format(dataCaixa));
        return true;
    }
    
    public void calcularFechamento(){
        totalSangria = persisteSangria.retornarSomatorioSangriaPorData(dataCaixa);
        if(totalSangria == null) totalSangria = 0.; //se não tiver nada no banco, retorna null
        txtTotalSangria.setText(Validacoes.formatoMoeda.format(totalSangria));
        
        totalDespesas  = persisteDespesas.retornarSomatorioDespesasPorData(dataCaixa);
        if(totalDespesas == null) totalDespesas = 0.;
        txtTotalDespesas.setText(Validacoes.formatoMoeda.format(totalDespesas));
        
        totalSuprimento = persisteSuprimento.retornarSomatorioSuprimentoPorData(dataCaixa);
        if(totalSuprimento == null) totalSuprimento = 0.; //se não tiver nada no banco, retorna null
        txtTotalSuprimento.setText(Validacoes.formatoMoeda.format(totalSuprimento));
        
        totalSessao = persisteSessao.totalPagoPorPeriodo(jDateFechamento.getDate(),jDateFechamento.getDate());
        if(totalSessao == null) totalSessao = 0.;
        txtTotalPacote.setText(Validacoes.formatoMoeda.format(totalSessao));
        
        totalVenda = persistePrestacao.retornarSomatorioPrestacoesPagasPorData(jDateFechamento.getDate(), false);
        if(totalVenda == null) totalVenda = 0.;//se não tiver nada no banco, retorna null
        txtTotalVenda.setText(Validacoes.formatoMoeda.format(totalVenda));
        
        totalRecebimentosExtras = persisteRecebimento.retornarSomatorioRecebimentoExtraPorData(dataCaixa);
        if(totalRecebimentosExtras == null) totalRecebimentosExtras = 0.0;
        txtTotalRecebimentosExtras.setText(Validacoes.formatoMoeda.format(totalRecebimentosExtras));
        
    }
    
    public void saldoCaixa(){
        totalCaixa = totalSuprimento - totalSangria - totalDespesas + totalSessao + totalVenda + totalRecebimentosExtras;
        
        if(totalCaixa > 0){
            txtTotalCaixa.setForeground(Color.BLUE);
        }else{
            txtTotalCaixa.setForeground(Color.red);
        }
        
        txtTotalCaixa.setText(Validacoes.formatoMoeda.format(totalCaixa));
    }
    
    public void limpaCampos(){
        txtTotalSuprimento.setText("0,00");
        txtTotalSangria.setText("0,00");
        txtTotalDespesas.setText("0,00");
        txtTotalCaixa.setText("0,00");
        txtTotalPacote.setText("0,00");
        txtTotalRecebimentosExtras.setText("0,00");
        
        txtTotalCaixa.setForeground(Color.black);
    }
    
    
    public void imprimir(){
        chamadaRelatorios.fechamentoCaixa(dataCaixa, 
                totalSuprimento, totalSangria, totalDespesas, totalVenda, 
                totalSessao, totalRecebimentosExtras, totalCaixa);
    }
    
    public void confirmar(){
        if(validarData()){
            limpaCampos();
            calcularFechamento();
            saldoCaixa();
        }
    }
    
    public CadastroFechamentoCaixa() {
        initComponents();
    }
    
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jPainelBotoes = new javax.swing.JPanel();
        btnSair = new javax.swing.JButton();
        btnImprimir = new javax.swing.JButton();
        jPanelPrincipal = new javax.swing.JPanel();
        jLabelSelecionaData = new javax.swing.JLabel();
        jDateFechamento = new com.toedter.calendar.JDateChooser();
        jLabelCaixa = new javax.swing.JLabel();
        btnConfirmar = new javax.swing.JButton();
        jPanel1 = new javax.swing.JPanel();
        jLabelDataReferecia = new javax.swing.JLabel();
        txtDataSelecionada = new javax.swing.JLabel();
        jLabelTotalSuprimento = new javax.swing.JLabel();
        jLabelTotalSangria = new javax.swing.JLabel();
        jLabelTotalVendas = new javax.swing.JLabel();
        JLabelTotalPacote = new javax.swing.JLabel();
        txtTotalPacote = new javax.swing.JLabel();
        txtTotalVenda = new javax.swing.JLabel();
        txtTotalSangria = new javax.swing.JLabel();
        txtTotalSuprimento = new javax.swing.JLabel();
        jLabelTotal = new javax.swing.JLabel();
        txtTotalCaixa = new javax.swing.JLabel();
        jLabelTotalSangria1 = new javax.swing.JLabel();
        txtTotalDespesas = new javax.swing.JLabel();
        txtTotalRecebimentosExtras = new javax.swing.JLabel();
        JLabelTotalPacote1 = new javax.swing.JLabel();

        setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
        setTitle("ERP BEAUTY CENTER - Fechamento de Caixa");
        setPreferredSize(new java.awt.Dimension(800, 640));

        jPainelBotoes.setPreferredSize(new java.awt.Dimension(800, 45));

        btnSair.setFont(new java.awt.Font("Verdana", 0, 11)); // NOI18N
        btnSair.setIcon(new javax.swing.ImageIcon(getClass().getResource("/br/com/beautycenter/img/Sair.png"))); // NOI18N
        btnSair.setToolTipText("Sair");
        btnSair.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnSairActionPerformed(evt);
            }
        });

        btnImprimir.setFont(new java.awt.Font("Verdana", 0, 11)); // NOI18N
        btnImprimir.setIcon(new javax.swing.ImageIcon(getClass().getResource("/br/com/beautycenter/img/Imprimir.png"))); // NOI18N
        btnImprimir.setToolTipText("Imprimir");
        btnImprimir.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnImprimirActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout jPainelBotoesLayout = new javax.swing.GroupLayout(jPainelBotoes);
        jPainelBotoes.setLayout(jPainelBotoesLayout);
        jPainelBotoesLayout.setHorizontalGroup(
            jPainelBotoesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPainelBotoesLayout.createSequentialGroup()
                .addGap(318, 318, 318)
                .addComponent(btnImprimir)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(btnSair)
                .addContainerGap(346, Short.MAX_VALUE))
        );
        jPainelBotoesLayout.setVerticalGroup(
            jPainelBotoesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPainelBotoesLayout.createSequentialGroup()
                .addGap(0, 4, Short.MAX_VALUE)
                .addGroup(jPainelBotoesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(btnImprimir)
                    .addComponent(btnSair)))
        );

        jPanelPrincipal.setBackground(new java.awt.Color(255, 255, 255));
        jPanelPrincipal.setPreferredSize(new java.awt.Dimension(800, 555));

        jLabelSelecionaData.setText("Selecione uma data: ");

        jLabelCaixa.setFont(new java.awt.Font("Verdana", 1, 20)); // NOI18N
        jLabelCaixa.setText("CAIXA");

        btnConfirmar.setIcon(new javax.swing.ImageIcon(getClass().getResource("/br/com/beautycenter/img/Selecionar.png"))); // NOI18N
        btnConfirmar.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnConfirmarActionPerformed(evt);
            }
        });

        jPanel1.setPreferredSize(new java.awt.Dimension(440, 430));

        jLabelDataReferecia.setFont(new java.awt.Font("Verdana", 0, 15)); // NOI18N
        jLabelDataReferecia.setText("Referente ao dia:");

        txtDataSelecionada.setFont(new java.awt.Font("Verdana", 0, 20)); // NOI18N
        txtDataSelecionada.setText("Data Selecionada");

        jLabelTotalSuprimento.setFont(new java.awt.Font("Verdana", 0, 15)); // NOI18N
        jLabelTotalSuprimento.setText("Total Troco:");

        jLabelTotalSangria.setFont(new java.awt.Font("Verdana", 0, 15)); // NOI18N
        jLabelTotalSangria.setText("Total Retirada:");

        jLabelTotalVendas.setFont(new java.awt.Font("Verdana", 0, 15)); // NOI18N
        jLabelTotalVendas.setText("Total Vendas:");

        JLabelTotalPacote.setFont(new java.awt.Font("Verdana", 0, 15)); // NOI18N
        JLabelTotalPacote.setText("Total Pacotes:");

        txtTotalPacote.setFont(new java.awt.Font("Verdana", 0, 15)); // NOI18N
        txtTotalPacote.setText("0.00");

        txtTotalVenda.setFont(new java.awt.Font("Verdana", 0, 15)); // NOI18N
        txtTotalVenda.setText("0.00");

        txtTotalSangria.setFont(new java.awt.Font("Verdana", 0, 15)); // NOI18N
        txtTotalSangria.setForeground(new java.awt.Color(255, 51, 51));
        txtTotalSangria.setText("0.00");

        txtTotalSuprimento.setFont(new java.awt.Font("Verdana", 0, 15)); // NOI18N
        txtTotalSuprimento.setText("0.00");

        jLabelTotal.setFont(new java.awt.Font("Verdana", 1, 20)); // NOI18N
        jLabelTotal.setForeground(new java.awt.Color(51, 51, 255));
        jLabelTotal.setText("TOTAL:");

        txtTotalCaixa.setFont(new java.awt.Font("Verdana", 1, 20)); // NOI18N
        txtTotalCaixa.setText("0.00");

        jLabelTotalSangria1.setFont(new java.awt.Font("Verdana", 0, 15)); // NOI18N
        jLabelTotalSangria1.setText("Total Despesas:");

        txtTotalDespesas.setFont(new java.awt.Font("Verdana", 0, 15)); // NOI18N
        txtTotalDespesas.setForeground(new java.awt.Color(255, 51, 51));
        txtTotalDespesas.setText("0.00");

        txtTotalRecebimentosExtras.setFont(new java.awt.Font("Verdana", 0, 15)); // NOI18N
        txtTotalRecebimentosExtras.setText("0.00");

        JLabelTotalPacote1.setFont(new java.awt.Font("Verdana", 0, 15)); // NOI18N
        JLabelTotalPacote1.setText("Total Recebimentos Extras");

        javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
        jPanel1.setLayout(jPanel1Layout);
        jPanel1Layout.setHorizontalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel1Layout.createSequentialGroup()
                .addContainerGap(55, Short.MAX_VALUE)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jLabelTotalSangria1, javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(jLabelTotalVendas, javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(JLabelTotalPacote, javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(JLabelTotalPacote1, javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(jLabelTotalSuprimento, javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(jLabelTotalSangria, javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(jLabelDataReferecia, javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(jLabelTotal, javax.swing.GroupLayout.Alignment.TRAILING))
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel1Layout.createSequentialGroup()
                        .addGap(47, 47, 47)
                        .addComponent(txtDataSelecionada))
                    .addGroup(jPanel1Layout.createSequentialGroup()
                        .addGap(93, 93, 93)
                        .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(txtTotalSuprimento, javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(txtTotalSangria, javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(txtTotalDespesas, javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(txtTotalVenda, javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(txtTotalPacote, javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(txtTotalRecebimentosExtras, javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(txtTotalCaixa, javax.swing.GroupLayout.Alignment.TRAILING))))
                .addContainerGap(56, Short.MAX_VALUE))
        );
        jPanel1Layout.setVerticalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel1Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabelDataReferecia)
                    .addComponent(txtDataSelecionada))
                .addGap(45, 45, 45)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabelTotalSuprimento)
                    .addComponent(txtTotalSuprimento))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabelTotalSangria)
                    .addComponent(txtTotalSangria))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabelTotalSangria1)
                    .addComponent(txtTotalDespesas))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabelTotalVendas)
                    .addComponent(txtTotalVenda))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(JLabelTotalPacote)
                    .addComponent(txtTotalPacote))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(JLabelTotalPacote1)
                    .addComponent(txtTotalRecebimentosExtras))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 144, Short.MAX_VALUE)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabelTotal)
                    .addComponent(txtTotalCaixa))
                .addGap(27, 27, 27))
        );

        javax.swing.GroupLayout jPanelPrincipalLayout = new javax.swing.GroupLayout(jPanelPrincipal);
        jPanelPrincipal.setLayout(jPanelPrincipalLayout);
        jPanelPrincipalLayout.setHorizontalGroup(
            jPanelPrincipalLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelPrincipalLayout.createSequentialGroup()
                .addGroup(jPanelPrincipalLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanelPrincipalLayout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(jLabelSelecionaData)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jDateFechamento, javax.swing.GroupLayout.PREFERRED_SIZE, 100, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(btnConfirmar, javax.swing.GroupLayout.PREFERRED_SIZE, 37, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(jPanelPrincipalLayout.createSequentialGroup()
                        .addGap(126, 126, 126)
                        .addGroup(jPanelPrincipalLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, 532, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanelPrincipalLayout.createSequentialGroup()
                                .addGap(233, 233, 233)
                                .addComponent(jLabelCaixa)
                                .addGap(227, 227, 227)))))
                .addContainerGap(142, Short.MAX_VALUE))
        );
        jPanelPrincipalLayout.setVerticalGroup(
            jPanelPrincipalLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelPrincipalLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanelPrincipalLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addComponent(jDateFechamento, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(jLabelSelecionaData, javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(btnConfirmar, javax.swing.GroupLayout.PREFERRED_SIZE, 0, Short.MAX_VALUE))
                .addGap(27, 27, 27)
                .addComponent(jLabelCaixa)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, 429, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap())
        );

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jPainelBotoes, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
            .addComponent(jPanelPrincipal, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addComponent(jPainelBotoes, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jPanelPrincipal, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

    private void btnConfirmarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnConfirmarActionPerformed
        confirmar();
    }//GEN-LAST:event_btnConfirmarActionPerformed

    private void btnSairActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnSairActionPerformed
        dispose();
    }//GEN-LAST:event_btnSairActionPerformed

    private void btnImprimirActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnImprimirActionPerformed
        imprimir();
    }//GEN-LAST:event_btnImprimirActionPerformed

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JLabel JLabelTotalPacote;
    private javax.swing.JLabel JLabelTotalPacote1;
    private javax.swing.JButton btnConfirmar;
    private javax.swing.JButton btnImprimir;
    private javax.swing.JButton btnSair;
    private com.toedter.calendar.JDateChooser jDateFechamento;
    private javax.swing.JLabel jLabelCaixa;
    private javax.swing.JLabel jLabelDataReferecia;
    private javax.swing.JLabel jLabelSelecionaData;
    private javax.swing.JLabel jLabelTotal;
    private javax.swing.JLabel jLabelTotalSangria;
    private javax.swing.JLabel jLabelTotalSangria1;
    private javax.swing.JLabel jLabelTotalSuprimento;
    private javax.swing.JLabel jLabelTotalVendas;
    private javax.swing.JPanel jPainelBotoes;
    private javax.swing.JPanel jPanel1;
    private javax.swing.JPanel jPanelPrincipal;
    private javax.swing.JLabel txtDataSelecionada;
    private javax.swing.JLabel txtTotalCaixa;
    private javax.swing.JLabel txtTotalDespesas;
    private javax.swing.JLabel txtTotalPacote;
    private javax.swing.JLabel txtTotalRecebimentosExtras;
    private javax.swing.JLabel txtTotalSangria;
    private javax.swing.JLabel txtTotalSuprimento;
    private javax.swing.JLabel txtTotalVenda;
    // End of variables declaration//GEN-END:variables
}